package com.answer.service;

import com.answer.model.dto.UserAnswer.UserAnswerAddDTO;
import com.answer.model.dto.UserAnswer.UserAnswerQueryDTO;
import com.answer.model.dto.UserAnswer.UserAnswerUpdateDTO;
import com.answer.model.entity.UserAnswer;
import com.answer.model.reslut.ResultPage;
import com.answer.model.vo.UserAnswerVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author haoshuai
* @description 针对表【user_answer(用户答题记录)】的数据库操作Service
* @createDate 2024-06-29 15:23:08
*/
public interface UserAnswerService extends IService<UserAnswer> {

    UserAnswer addUserAnswer(UserAnswerAddDTO UserAnswerAddDTO);


    ResultPage<UserAnswerVo> queryAll(UserAnswerQueryDTO userAnswerQueryDTO);


    UserAnswerVo queryOneById(Long id);


    Boolean updateUserAnswer(UserAnswerUpdateDTO UserAnswerUpdateDTO);

}
